/**
 * 
 */
package com.shine.icis.dto;

import java.text.DecimalFormat;

/**
 * 对应A13信息
 * 
 * @author zuohp
 */
public class PfxBackInfo {
	private DecimalFormat doubleFormat = new DecimalFormat("##,##0.00");
	private String status;//状态
	private String fileName;//文件名
	private Double fileSize;//文件大小
	private String fileUploadDate;//文件上传日期
	private String fileSerialNo;//文件序列号
	private String fileDate;//文件日期
	private String dept;//站点机构
	
	public String getStatus(){
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public double getFileSize() {
		return fileSize;
	}
	public String getFileSizeNote() {
		return doubleFormat.format(fileSize);
	}
	public void setFileSize(double fileSize) {
		this.fileSize = fileSize;
	}

	public String getFileUploadDate() {
		return fileUploadDate;
	}
	public void setFileUploadDate(String fileUploadDate) {
		this.fileUploadDate = fileUploadDate;
	}
	public String getFileSerialNo() {
		return fileSerialNo;
	}
	public void setFileSerialNo(String fileSerialNo) {
		this.fileSerialNo = fileSerialNo;
	}
	public String getFileDate() {
		return fileDate;
	}
	public void setFileDate(String fileDate) {
		this.fileDate = fileDate;
	}
	public String getDept() {
		return dept;
	}
	public void setDept(String dept) {
		this.dept = dept;
	}
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((fileSerialNo == null) ? 0 : fileSerialNo.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final PfxBackInfo other = (PfxBackInfo) obj;
		if (fileSerialNo != null && fileSerialNo.equals(other.getFileSerialNo())) {
			return true;
		}
		return false;
	}
}
